package yyh.jaccard.bean;

import java.util.List;

public class Jaccard_Symp_Herb_Consistency_bean {
	private Integer inhosptial_id_before;
	private Integer inhosptial_id_after;
	private List<String> zhengxing;
	private Double jaccard_value;
	
	
	@Override
	public String toString() {
		return "Jaccard_Symp_Herb_Consistency_bean [inhosptial_id_before="
				+ inhosptial_id_before + ", inhosptial_id_after="
				+ inhosptial_id_after + ", zhengxing=" + zhengxing
				+ ", jaccard_value=" + jaccard_value + "]";
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime
				* result
				+ ((inhosptial_id_after == null) ? 0 : inhosptial_id_after
						.hashCode());
		result = prime
				* result
				+ ((inhosptial_id_before == null) ? 0 : inhosptial_id_before
						.hashCode());
		result = prime * result
				+ ((jaccard_value == null) ? 0 : jaccard_value.hashCode());
		result = prime * result
				+ ((zhengxing == null) ? 0 : zhengxing.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		Jaccard_Symp_Herb_Consistency_bean other = (Jaccard_Symp_Herb_Consistency_bean) obj;
		if (inhosptial_id_after == null) {
			if (other.inhosptial_id_after != null)
				return false;
		} else if (!inhosptial_id_after.equals(other.inhosptial_id_after))
			return false;
		if (inhosptial_id_before == null) {
			if (other.inhosptial_id_before != null)
				return false;
		} else if (!inhosptial_id_before.equals(other.inhosptial_id_before))
			return false;
		if (jaccard_value == null) {
			if (other.jaccard_value != null)
				return false;
		} else if (!jaccard_value.equals(other.jaccard_value))
			return false;
		if (zhengxing == null) {
			if (other.zhengxing != null)
				return false;
		} else if (!zhengxing.equals(other.zhengxing))
			return false;
		return true;
	}
	public Integer getInhosptial_id_before() {
		return inhosptial_id_before;
	}
	public void setInhosptial_id_before(Integer inhosptial_id_before) {
		this.inhosptial_id_before = inhosptial_id_before;
	}
	public Integer getInhosptial_id_after() {
		return inhosptial_id_after;
	}
	public void setInhosptial_id_after(Integer inhosptial_id_after) {
		this.inhosptial_id_after = inhosptial_id_after;
	}
	public List<String> getZhengxing() {
		return zhengxing;
	}
	public void setZhengxing(List<String> zhengxing) {
		this.zhengxing = zhengxing;
	}
	public Double getJaccard_value() {
		return jaccard_value;
	}
	public void setJaccard_value(Double jaccard_value) {
		this.jaccard_value = jaccard_value;
	}
	
	
	
	

}
